package basic;

import java.awt.image.RescaleOp;
import java.io.PrintWriter;
import java.util.List;
import model.UserInfo;

import org.mortbay.jetty.Response;

import com.jfinal.core.Controller;

public class HelloController extends Controller {
	
	public void indet(){
		String t=getPara("w");
		String k=getPara("q");
		
		System.out.print("页面输出了.\n");
		List<UserInfo> userinfos =UserInfo.dao.find("select * from userinfo");
		//System.out.print(users.get(0).getStr("name"));
		setAttr("users", userinfos);
		render("/hello/my.html");
	}
}
